import theme from "@/store/modules/theme.js";

const getters = {
  tag: (state) => state.tags.tag,
  userInfo: (state) => state.user.userInfo,
  collapse: (state) => state.theme.collapse,
  fullScreen: (state) => state.theme.fullScreen,
  tagList: (state) => state.tags.tagList,
  tagWel: (state) => state.tags.tagWel,
  token: (state) => state.user.token,
  roles: (state) => state.user.roles,
  permission: (state) => state.user.permission,
  menu: (state) => state.menu.menu,
  model: (state) => state.theme.model,
  modelId: (state) => state.theme.modelId,
  breadcrumb: (state) => state.common.breadcrumb,
  indexTabs: (state) => state.index.indexTabs,
  globalColor: (state) => state.theme.globalColor,
  theme: (state) => state.theme.theme,
};
export default getters;
